<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@page session="false"%>
	
<link rel="stylesheet" href='<c:url value="/css/screen.css" />'/>
<link rel="stylesheet" href='<c:url value="/css/wizarform.css" />'/>
<script type="text/javascript" src='<c:url value="/js/formToWizard.js"/>'/></script>

<script type="text/javascript">
   	
       $(document).ready(function(){  

			//Tomo el valor de fecha que corresponda en consonancia con el idioma seleccionado
			<c:choose>  
				<c:when test="${pageContext.response.locale.language ne 'es'}">
				 	$("#fechades").datepicker({dateFormat: 'yy/mm/dd', changeYear: true,yearRange: "-100:+0"});  		  
				</c:when> 		    	
				<c:otherwise>  
					$("#fechades").datepicker({dateFormat: 'dd/mm/yy', changeYear: true,yearRange: "-100:+0"})				
				</c:otherwise>
			</c:choose>

			<c:choose>
				<c:when test="${pageContext.response.locale.language ne 'es'}">
		 			$("#fechahas").datepicker({dateFormat: 'yy/mm/dd', changeYear: true,yearRange: "-100:+0"});  		  
				</c:when> 		    	
				<c:otherwise>  
					$("#fechahas").datepicker({dateFormat: 'dd/mm/yy', changeYear: true,yearRange: "-100:+0"})				
				</c:otherwise>
			</c:choose> 
	  

	       //*********** wizard ************************************
           $("#pasosForm").formToWizard({ submitButton: 'Guardar' })
           //Validamos el formulario cuando se realize el submit
           $("#pasosForm").validate();
       });

    </script>


  	<script 
		src='<c:url value="/js/jspropios/jt.listainfptes.js"/>'>
	</script>

	<%@page session="false"%>
	
			<article id="content" Style="padding-top:0px">
				<div>
					<section class="col-3-3">
						<div class="wrap-col">
							<%if(request.getHeader("Referer") != null)
							{%>
	   							<a id="volver"  title="VOLVER"onclick="history.go(-1); return false;" href="#"></a>
							<%}%>	
							<h2 class="under"><spring:message code="crs.med.inf.ptes"/><span Style="text-transform: uppercase;"></span></h2>
							<input id="situacionid" value='${solicitudesForm.situacionid}' hidden="true" ></input>
					        <div>       
	           					<div id="TablaListaSolicitudes" style="width:99%;"></div>
	      					</div>				
						</div>
					</section>	
				</div>
			</article>
			
		</div>
	</div>